export interface ModalProps {
  title?: string;
  height?: number;
  minHeight?: number;
  draggable?: boolean;
  useWrapper?: boolean;
  wrapperFooterOffset?: number;
  canFullscreen?: boolean;
  defaultFullscreen?: boolean;
  loading?: boolean;
  loadingTip?: string;
  showCancelBtn?: boolean;
  showOkBtn?: boolean;
  helpMessage?: string | string[];
  centered: boolean;
  cancelText?: string;
  okText?: string;
  closeFunc: () => Promise<boolean>;
}

export interface CustomFormRegister {
  validate: Function;
  submit: Function;
  modalParams?: ModalProps;
}
